﻿@model FlashCards.WebApp.Models.FlashcardSetModel
@{
    ViewBag.Title = "DeleteFlashcardSet";
}
<h2>
    Delete flashcard set</h2>
@using (Html.BeginForm())
{ 
    @Html.HiddenFor(x => x.Id)
    <p>
        Are you sure you want to delete this flashcard set?</p>
    if (!string.IsNullOrEmpty(Model.GroupName))
    {
        <p>
            This set is bound to group - @Model.GroupName</p> 
    }

    <p>
        Name - @Model.Name</p>
    <p>
        DateModified - @Model.DateModified</p>
    <p>
        Flashcards count - @Model.FlashcardsCount</p>
    
    <input type="submit" value="Usuń" />
}